home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global CA, CB, CC
- set CA to (0.5 * (random(4) - 1)) + 0.5
- set CB to (0.5 * (random(5) - 1)) + 1.0
- set CC to 15.0 * (random(7) - 1)
- set the trails of sprite 12 to 1
- set xA to the left of sprite 4 + 16
- set yA to the bottom of sprite 4 - 47
- set y0 to yA - (22.0 * CA * sin((CB * 0.0) + (CC * PI / 180.0)))
- set x0 to xA
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - (18.0 * CA * sin((CB * x) + (CC * PI / 180.0)))
- set the locH of sprite 12 to x1
- set the locV of sprite 12 to y1
- updateStage()
- end repeat
- end
-